package cn.zc.student.service.controller;


import cn.zc.student.entity.Dto.StudentExaminationResultDto;
import cn.zc.student.service.service.StudentExaminationResultService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 考试成绩 前端控制器
 * </p>
 *
 * @author keno
 * @since 2022-02-23
 */
@Api(tags = "学生考试成绩接口")
@RestController
@RequestMapping("/student")
public class StudentExaminationResultController {

    @Resource
    private StudentExaminationResultService studentExaminationResultService;

    /**
     * 查询考试分数
     * @param classifyId
     * @param studentId
     * @return
     */
    @ApiOperation(value = "查询考试分数接口")
    @GetMapping("/find/StudentExaminationResult")
    private StudentExaminationResultDto findStudentExaminationResult(String classifyId, String studentId){
       return studentExaminationResultService.findStudentExaminationResult(classifyId,studentId);
    }
}

